package top.wuxiaohan.operatingSystemCourse.myRunnable;

public class InitRunnable implements MyRunnable {

    private static InitRunnable initRunnable;

    private InitRunnable() {

    }

    public static InitRunnable getInitRunnable() {
        if(initRunnable == null)
            return new InitRunnable();
        else
            return initRunnable;
    }

    @Override
    public void run() {

        System.out.println("Init process is running.");

    }
}
